import { Component, OnInit, Input } from '@angular/core';
// 万用表服务
import { MultimeterService } from '../../components/multimeter/multimeter.service'
@Component({
  selector: 'app-tool',
  templateUrl: './tool.component.html',
  styleUrls: ['./tool.component.scss']
})
export class ToolComponent implements OnInit {
  @Input() current: number;
  constructor(
    public multimeterService: MultimeterService
  ) { }

  ngOnInit() {
  }

  toolShow() {
    this.multimeterService.Mdata.multimeterStatus = true;
  }

}
